<template>
   <div>
      <v-input :detailData="inputData" :inputConfig="inputConfig" :rules="rules" @keyEnter="keyEnter"
               ref="input"></v-input>
   </div>
</template>

<script>
import input from "@/components/commons/Detail";

export default {
   name: "",
   data() {
      return {
         carriercodeFlag: false,
         inputData: {
            shippingkey: "",
            carriercode: "",
            status: ""
         },
         rules: {},
      }
   },
   computed: {
      inputConfig() {
         return [
            [
               {
                  type: "input",
                  label: this.$t('out.shippingkey'),
                  props: "shippingkey",
                  disabled: true
               },
               {
                  type: "select",
                  label: this.$t('config.carrierCode'),
                  props: "carriercode",
                  options: [],
                  disabled: this.carriercodeFlag
               },
               {
                  type: "select",
                  label: this.$t('common.status'),
                  props: "status",
                  disabled: true,
                  options: []
               },
            ],
         ]
      }
   },
   methods: {
      keyEnter(name, data) {

      },

   },
   mounted() {

   },
   watch: {},
   components: {
      "v-input": input,
   }
}
</script>

<style scoped>

</style>
